<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;


// 首页路由
Route::get('/', function () {
    return json('', 404);
});

// 分组路由
Route::post('pay', 'PaymentController/pay');                        // 支付接口
Route::get('findOrder', 'PaymentController/findOrder');             // 查询订单接口
Route::get('shande', 'PaymentController/shande');                   // 支付重定向接口
Route::post('payNotify', 'PaymentController/payNotify');            // 支付回调
Route::post('userNotify', 'PaymentController/userNotify');          // 用户回调
Route::get('findUserStatus', 'PaymentController/findUserStatus');   // 查询会员状态
Route::post('cancel', 'PaymentController/cancel');                  // 会员销户
Route::post('cancelConfirm', 'PaymentController/cancelConfirm');    // 会员销户确认操作